package hk.linkcredit.walletservice.wallet.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: Jamnsin
 * @Date: 2022/6/10 17:12
 */
@Data
public class WalletRepayReq {

    @NotBlank(message = "CustNo cannot be empty")
    private String custNo;

    @NotNull(message = "Repay applyAmount cannot be empty")
    private BigDecimal applyAmount;

    private String walletType;

    @NotBlank(message = "LoanSerialNo cannot be empty")
    private String loanSerialNo;
}
